<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'>
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="icon" href="./favicon.ico">
  <link rel="stylesheet" href="./lib/mui/css/mui.css">
  <link rel="stylesheet" href="./lib/fa/css/font-awesome.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/product.css">
</head>

<body>
  <div class="lt_container">
    <div class="lt_header">
      <a href="javascript:history.back()" class="icon_left">
        <i class="mui-icon mui-icon-back"></i>
      </a>
      <h4>乐淘云购</h4>
      <a href="search.html" class="icon_right">
        <i class="fa fa-search"></i>
      </a>
    </div>
    <div class="lt_main">
      <div class="mui-scroll-wrapper">
        <div class="mui-scroll">
         
        </div>
      </div>
    </div>
  </div>
  <div class="lt_shopcart">
    <a href="shopcart.html" class="mui-pull-left">去购物车</a>
    <div class="mui-pull-right">
      <button class="mui-btn mui-btn-danger addCart">加入购物车</button>
      <button class="mui-btn mui-btn-warning">立即购买</button>
    </div>
  </div>
  </div>

  <script type="text/template" id="tmp">
    <div class="banner" data-id="{{ id }}">
        <div class="mui-slider">
          <div class="mui-slider-group mui-slider-loop">
            <!--支持循环，需要重复图片节点-->
            <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="{{ pic[pic.length - 1].picAddr }}" /></a></div>
            {{ each pic v i }}
            <div class="mui-slider-item"><a href="#"><img src="{{ v.picAddr }}" /></a></div>
            {{ /each }}
            <!--支持循环，需要重复图片节点-->
            <div class="mui-slider-item mui-slider-item-duplicate"><a href="#"><img src="{{ pic[0].picAddr }}" /></a></div>
          </div>
          <div class="mui-slider-indicator">
            {{ each pic v i }}
            <div class="mui-indicator {{ i===0?'mui-active':'' }}"></div>
            {{ /each }}
          </div>
        </div>
      </div>
      <div class="name">
        <h4>{{ proName }}</h4>
      </div>
      <div class="price">
        价格: &nbsp;&nbsp;
        <span>¥{{ price }}</span>
        <span class="oldPrice">¥{{ oldPrice }}</span>
      </div>
      <div class="size">
        尺码:&nbsp;&nbsp;
        {{ each sizeArray v i }}
        <span class="">{{ v }}</span>
        {{ /each }}
      </div>
      <div class="num">
        数量:&nbsp;&nbsp;
        <div class="mui-numbox" data-numbox-step='1' data-numbox-min='1' data-numbox-max='{{ num }}'>
          <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
          <input class="mui-numbox-input" type="number"/>
          <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
        </div>
      </div>
      <div class="proDesc">
        详情:&nbsp;&nbsp;
        <span>{{ proDesc }}</span>
      </div>
  </script>

  <script type="text/template" id="tmp2">
    {{if rows.length === 0}}
    <p>当前分类下没有数据</p>
    {{/if}}
    {{ each rows v i }}
    <li>
      <a href="#">
        <img src="{{ v.brandLogo }}" alt="">
        <p>{{ v.brandName }}</p>
      </a>
    </li>
    {{/each}}
  </script>
  <script src="./lib/mui/js/mui.js"></script>
  <script src="./js/common.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/zepto/zepto.min.js"></script>
  <script src="./js/product.js"></script>
</body>

</html>

</html>